<template>
  
</template>

<script>
  export default {
    mounted () {
      if (this.isCreated) {
        // 获取下拉模型框
        this.getSelectModel()
      } else {
        // 获取整个norm数据
        this.getNorm()
      }
    },
    methods: {
      // 点击模型
      clickModel () {
        this.getNorm()
      },
      getNorm () {
        then(r => {
          this.initData()
        })
      },
      // 导入成功
      importSuccess () {
        this.getNorm()
      }
    },
    computed: {
      isCreated () {
        return this.normId
      }
    }
  }
</script>